﻿using RStudio.UIFramwork;
using UnityEngine.UI;



/// <summary>
/// 阻挡
/// </summary>
/// 
[UIDetail("UIBlock", "UIBlock")]
public class UIBlock : UIWidget
{
    public override void InitComponent()
    {
        bool isGet = transform.TryGetComponent<MaskableGraphic>(out var output);

        if (isGet)
        {
            output.maskable = false;
        }
    }
}